<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:forEach items="${creditOrders }" var="co">
	<li><a href="${ctx.host}/profile/credit-orders/${co.id}" class="item-content">
			<div class="item-media">
				<img src="${ctx.resource}/image/credit-mall/product-cover.png" class="product-cover">
			</div>
			<div class="item-inner">
				<div class="item-title-row">
					<div class="item-title">${co.product.name}</div>
				</div>
				<div class="item-subtitle">
					<span class="time">${co.exchangeTime}</span>
				</div>
			</div>
			<div class="item-after">
				<button class="button detail-button">详情</button>
			</div>
	</a></li>
</c:forEach>